home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / CUGUK / PROG_TOO / C027B.ZIP / JAS / PARSE.H < prev    next >
Text File  |  1990-03-30  |  1KB  |  64 lines

  1.  
  2. /*
  3.  * Copyright (c) 1988 by Sozobon, Limited.  Author: Joseph M Treat
  4.  *
  5.  * Permission is granted to anyone to use this software for any purpose
  6.  * on any computer system, and to redistribute it freely, with the
  7.  * following restrictions:
  8.  * 1) No charge may be made other than reasonable charges for reproduction.
  9.  * 2) Modified versions must be clearly marked as such.
  10.  * 3) The authors are not responsible for any harmful consequences
  11.  *    of using this software, even if they result from defects in it.
  12.  */
  13.  
  14. typedef union {
  15.     long val;
  16.     char *str;
  17.     LIST *list;
  18.     STMT *stmt;
  19.     SYM  *sym;
  20.     EXPR  expr;
  21.     OPERAND *op;
  22. } YYSTYPE;
  23.  
  24. extern YYSTYPE yylval;
  25.  
  26. #define _TEXT 257
  27. #define _DATA 258
  28. #define _GLOBL 259
  29. #define _BSS 260
  30. #define _DC 261
  31. #define _COMM 262
  32. #define LP 263
  33. #define RP 264
  34. #define NL 265
  35. #define SEMI 266
  36. #define COMMA 267
  37. #define ERR 268
  38. #define COLON 269
  39. #define COMMENT 270
  40. #define NUMBER 271
  41. #define NAME 272
  42. #define STRING 273
  43. #define OR 274
  44. #define XOR 275
  45. #define AND 276
  46. #define LSH 277
  47. #define RSH 278
  48. #define PLUS 279
  49. #define MINUS 280
  50. #define STAR 281
  51. #define DIV 282
  52. #define MOD 283
  53. #define NOT 284
  54. #define REG 285
  55. #define POUND 286
  56. #define INSTR 287
  57. #define PC 288
  58. #define _EVEN 289
  59. #define _ORG 290
  60. #define _DS 291
  61. #define END 292
  62. #define _EQU 293
  63. #define SREG 294
  64.